package com.ktgj.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 旅游合同
 */
public class TravelContractDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 合同表主键 */
    private Long contractId;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNum;

    /** 供应商表主键 */
    @Excel(name = "供应商表主键")
    private Long supplierId;

    /** 合作商地址 */
    @Excel(name = "合作商地址")
    private String address;

    /** 合作商电话 */
    @Excel(name = "合作商电话")
    private String phone;

    /** 合作开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合作开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 合作结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合作结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 甲方签约人 */
    @Excel(name = "甲方签约人")
    private String signPartyA;

    /** 甲方电话 */
    @Excel(name = "甲方电话")
    private String phonePartyA;

    /** 甲方商务 */
    @Excel(name = "甲方商务")
    private String businessPartyA;

    /** 乙方签约人 */
    @Excel(name = "乙方签约人")
    private String signPartyB;

    /** 乙方电话 */
    @Excel(name = "乙方电话")
    private String phonePartyB;

    /** 乙方商务 */
    @Excel(name = "乙方商务")
    private String businessPartyB;

    /** 甲方签署公司 */
    @Excel(name = "甲方签署公司")
    private String companyPartyA;

    /** 0禁用，1启用*/
    @Excel(name = "0禁用，1启用")
    private String contractStatus;

    private List<TravelContractDocument> lstContractDocuments;

    public List<TravelContractDocument> getLstContractDocuments() {
        return lstContractDocuments;
    }

    public void setLstContractDocuments(List<TravelContractDocument> lstContractDocuments) {
        this.lstContractDocuments = lstContractDocuments;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getContractNum() {
        return contractNum;
    }

    public void setContractNum(String contractNum) {
        this.contractNum = contractNum;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getSignPartyA() {
        return signPartyA;
    }

    public void setSignPartyA(String signPartyA) {
        this.signPartyA = signPartyA;
    }

    public String getPhonePartyA() {
        return phonePartyA;
    }

    public void setPhonePartyA(String phonePartyA) {
        this.phonePartyA = phonePartyA;
    }

    public String getBusinessPartyA() {
        return businessPartyA;
    }

    public void setBusinessPartyA(String businessPartyA) {
        this.businessPartyA = businessPartyA;
    }

    public String getSignPartyB() {
        return signPartyB;
    }

    public void setSignPartyB(String signPartyB) {
        this.signPartyB = signPartyB;
    }

    public String getPhonePartyB() {
        return phonePartyB;
    }

    public void setPhonePartyB(String phonePartyB) {
        this.phonePartyB = phonePartyB;
    }

    public String getBusinessPartyB() {
        return businessPartyB;
    }

    public void setBusinessPartyB(String businessPartyB) {
        this.businessPartyB = businessPartyB;
    }

    public String getCompanyPartyA() {
        return companyPartyA;
    }

    public void setCompanyPartyA(String companyPartyA) {
        this.companyPartyA = companyPartyA;
    }

    public String getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(String contractStatus) {
        this.contractStatus = contractStatus;
    }

    @Override
    public String toString() {
        return "TravelContractDto{" +
                "contractId=" + contractId +
                ", contractNum='" + contractNum + '\'' +
                ", supplierId=" + supplierId +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", signPartyA='" + signPartyA + '\'' +
                ", phonePartyA='" + phonePartyA + '\'' +
                ", businessPartyA='" + businessPartyA + '\'' +
                ", signPartyB='" + signPartyB + '\'' +
                ", phonePartyB='" + phonePartyB + '\'' +
                ", businessPartyB='" + businessPartyB + '\'' +
                ", companyPartyA='" + companyPartyA + '\'' +
                ", contractStatus='" + contractStatus + '\'' +
                '}';
    }
}
